//
//  PKRadioplayInfo.m
//  PianKe
//
//  Created by mingtao on 15/10/6.
//  Copyright (c) 2015年 mingtao. All rights reserved.
//

#import "PKRadioplayInfo.h"

@implementation PKRadioplayInfo

-(void)setValue:(id)value forKey:(NSString *)key
{
    if ([key isEqualToString:@"authorinfo"]) {
        self.authorinfo = [[PKAuthorinfo alloc]init];
        [self.authorinfo setValuesForKeysWithDictionary:value];
    }else
    {
        [super setValue:value forKey:key];
    }
    
    
    if ([key isEqualToString:@"shareinfo"]) {
        
        self.shareinfo = [[PKShareinfo alloc]init];
        [self.shareinfo setValuesForKeysWithDictionary:value];
    }else
    {
        [super setValue:value forKey:key];
    }
    
    if ([key isEqualToString:@"userinfo"]) {
        
        self.userinfo = [[PKUserinfo alloc]init];
        
        [self.userinfo setValuesForKeysWithDictionary:value];
    }else
    {
        [super setValue:value forKey:key];
    }

}

@end
